all: hw4.exe

CXX=g++44
CXXFLAGS=-g -O3 -fopenmp -funroll-loops
#CXX=icc #g++44
#CXXFLAGS=-g -fast -openmp -unroll #-O3 -fopenmp
RM=/bin/rm -rf

SRC= hw4.cpp
SRCO= ${SRC:.cpp=.o}
HH= btree.hh hw4.hh

hw4.exe: hw4.o
	$(CXX) $(CXXFLAGS) -o hw4.exe $(SRCO)

clean:
	$(RM) *.o *.exe *~
	
%.o: $(SRC) $(HH)
	$(CXX) $(CXXFLAGS) -o $@ -c $(SRC)
